home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6120 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: dbridger.inlink.com!user
  2. From: dbridger@inlink.com (Dave Bridger)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Cout and Cin
  5. Date: Sun, 11 Feb 1996 00:54:30 -0600
  6. Organization: inlink
  7. Message-ID: <dbridger-1102960054300001@dbridger.inlink.com>
  8. References: <4fgsku$osh@newsbf02.news.aol.com> <311cc49a.2219010@news.interlog.com>
  9. NNTP-Posting-Host: dbridger.inlink.com
  10.  
  11. In article <311cc49a.2219010@news.interlog.com>, object@interlog.com
  12. (Nicholas Scott) wrote:
  13.  
  14. > They are objects.
  15. > Have a look at the headers.
  16. > lightir@aol.com (Lightir) wrote:
  17. > >
  18. > >How do "cout" and "cin" work? They're not functions, so what are they?
  19. > >They require the library "iostreams", so im assuming they're not built in
  20. > >C commands. If someone can please explain this to me, e-mail me at
  21. > >Lightir@aol.com.
  22.  
  23. More precisely, they are objects with overloaded operators ("<<" and ">>")
  24. that accept and return references to other objects ("ostream" and
  25. "istream").
  26.  
  27. --Dave
  28. -- 
  29. The Reality Razors:
  30. 1) Never ascribe to malice that which can be easily attributed to stupidity.
  31. 2) Never ascribe to planning that which can be easily attributed to luck.
  32. 3) Never ascribe to conspiracy that which can be easily be attributed to coincidence.
  33.